package me.firstapp.common.module.bbs;

import java.util.Date;

import me.firstapp.common.module.base.JsonBase;
import me.firstapp.common.module.shop.JsonOrder;

public class JsonShopNotification extends JsonBase {

	private static final long serialVersionUID = 6692287424779288434L;

	// 通知动作，0为订单支付通知，1为订单支付成功通知，2为订单被取消通知，3为订单已发货通知
	private Integer action;

	// 关联的订单
	private JsonOrder order;

	// 接收通知的用户
	private JsonMember toMember;

	// 通知是否已读,0是未读，1是已读
	private Integer isRead;

	// 通知的内容
	private String content;

	// 通知时间
	private Date notifyTime;

	public Integer getAction() {
		return action;
	}

	public void setAction(Integer action) {
		this.action = action;
	}

	public JsonOrder getOrder() {
		return order;
	}

	public void setOrder(JsonOrder order) {
		this.order = order;
	}

	public JsonMember getToMember() {
		return toMember;
	}

	public void setToMember(JsonMember toMember) {
		this.toMember = toMember;
	}

	public Integer getIsRead() {
		return isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getNotifyTime() {
		return notifyTime;
	}

	public void setNotifyTime(Date notifyTime) {
		this.notifyTime = notifyTime;
	}

}
